﻿using System;
using System.Collections.Generic;
using System.Web;
using ORS.DAL;
namespace ORS.BLL
{
    public class DistributeRev
    {
        string sqlstr_modiappst;
         mssqlopr ivk_mssqlopr =new mssqlopr();

        //static SetApprovalSate()
        //{
        //    ivk_mssqlopr = new mssqlopr();
        
        //}
        
        public void PaperDistribute(string paper_id,string reviewerName)
        {
            sqlstr_modiappst = "UPDATE tb_paperinfo SET reviewer='" + reviewerName + "', reviewstate = 1 WHERE paperid=" + paper_id;
            ivk_mssqlopr.Modify_Data(sqlstr_modiappst);
        }

    }
}